﻿/*-----------------------------------------------
// File: SkillData.cs 
// Description: 技能数据 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;

public class SkillData {
    public string skillId;
    public int level;
    public int skillType;
    public int cd;
    public string skillAudio;

    public SkillData(ProtoBuf.Message.ActorSkill actorSkill) {
        skillId = actorSkill.HSId;
        level = actorSkill.level;
        skillType = actorSkill.skillType;
        cd = actorSkill.cd;
        this.skillAudio = Dict.DictDataManager.Instance.tableSkillDao.GetById( skillId ).SkillAudio;
    }
}
